package co.edu.unal.geditor.controller.action.file;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import javax.swing.AbstractAction;

import co.edu.unal.geditor.controller.App;

public class FileNew extends AbstractAction
{
	private static final long serialVersionUID = 1L;

	public FileNew()
	{
		super( "New Drawing" );

		putValue( MNEMONIC_KEY, KeyEvent.CTRL_DOWN_MASK + KeyEvent.VK_N );
	}

	public void actionPerformed( ActionEvent e )
	{
		App.getInstance().newDocument();
	}
}
